<div ng-controller="GzhlabelCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li>{{'粉丝'|translate}}</li>
        <li class="active"> {{'选择公众号：' | translate}}
            <wx-app-list ng-model="wxappid" dft="1" ary="storeary" xc="1" callbacks ="wxgzhcallback(app_id)"> </wx-app-list>
            <a href="#/gzhlabel/add?wxappid={{wxappid}}" class="sui-btn btn-primary">新建标签</a>
        </li>
        <!-- <span class="sui-form sui-form pull-right"> 
          <subscribe-scene ng-model="subscribe_scene" dft="1" ></subscribe-scene>
          <gzh-subscribe ng-model="subscribe" dft="1"></gzh-subscribe>
          <wx-sex ng-model="sex" dft="1" ></wx-sex>
          <input type="text"  placeholder="{{'nickname'|translate}}"  ng-model="nickname">
          <button class="sui-btn btn-primary" type="submit" ng-click="getlist(pageno)">{{'search'|translate}}</button>
        </span> -->
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'#'|translate}}</th>
                <th>{{'名称'|translate}}</th>
                <th>{{'数量'|translate}}</th>
                <th>{{'操作'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="(k ,list) in label">
                <td>{{list.id}}</td>
                <td>
                    {{list.name}}
                </td>
                <td> {{list.count}}</td>
                <td>
                    <a href="#/gzhlabel/add?wxappid={{wxappid}}&&data={{list}}" class="sui-btn btn-primary">编辑</a>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="{{pageNo}}" page-size="pageSize" total="total_count" get-data="getlist(pageNo)"></pager>
    <!-- 分页end -->